import requests from "./base";

//获取客户信息
export const getCustomer = (params?:unknown)=> requests.post("/user/list",params)

//删除客户
export const deleteCustomer = (params?:unknown)=> requests.post("/user/remove",params)

//添加客户
export const addCustomer = (params?:unknown)=> requests.post("/user/add",params)

//编辑客户
export const updateCustomer = (params?:unknown)=> requests.post("/user/update",params)

//查询流失客户
export const getLossCustomer = (params?:unknown) => requests.post("/user/listLostUser",params)

//删除流失客户
export const deleteLossCustomer = (params?:unknown) => requests.post("/user/remove",params)